package server.factory;

import java.util.Date;

import fr.appliClient.server.entity.Insurance;

public class InsuranceMockFactory extends MockFactory<Insurance> {

	public InsuranceMockFactory() {

		super(Insurance.class);
	}

	@Override
	protected void populate(int seed, Insurance mock) {

		mock.setCost(seed);
		mock.setEngagementEndDate(new Date(seed));
		mock.setName("name" + seed);
		mock.setNumber(seed);

	}

}
